package com.ruoyi.business.service;

import java.util.List;
import com.ruoyi.business.domain.TerminationAgreements;

/**
 * 解约协议Service接口
 * 
 * @author ruoyi
 * @date 2025-02-13
 */
public interface ITerminationAgreementsService 
{
    /**
     * 查询解约协议
     * 
     * @param id 解约协议主键
     * @return 解约协议
     */
    public TerminationAgreements selectTerminationAgreementsById(Long id);

    /**
     * 查询解约协议列表
     * 
     * @param terminationAgreements 解约协议
     * @return 解约协议集合
     */
    public List<TerminationAgreements> selectTerminationAgreementsList(TerminationAgreements terminationAgreements);

    /**
     * 新增解约协议
     * 
     * @param terminationAgreements 解约协议
     * @return 结果
     */
    public int insertTerminationAgreements(TerminationAgreements terminationAgreements);

    /**
     * 修改解约协议
     * 
     * @param terminationAgreements 解约协议
     * @return 结果
     */
    public int updateTerminationAgreements(TerminationAgreements terminationAgreements);

    /**
     * 批量删除解约协议
     * 
     * @param ids 需要删除的解约协议主键集合
     * @return 结果
     */
    public int deleteTerminationAgreementsByIds(Long[] ids);

    /**
     * 删除解约协议信息
     * 
     * @param id 解约协议主键
     * @return 结果
     */
    public int deleteTerminationAgreementsById(Long id);
}
